package com.qf.mapper;

import com.qf.pojo.User;
import org.omg.CORBA.PUBLIC_MEMBER;

import java.util.List;

/**
 * @version v1.0.0
 * @Description:
 * @author: 姜红凯
 * @date: 2022.02.12
 * @since 1.0
 */
public interface UserMapper {
    /**
     * 根据用户id查询用户对象返回
     * @param id
     * @return
     */
    public User findUserById(Integer id);

    public List<User> findUserAll();

    public void insertUser( User user);

    public void updateUser(User user);

    public void deleteUser(Integer id);

    public List<User> findUserByName(String name);
}
